﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
using System.Xml.Serialization;

namespace DJY.Domain.ViewModel
{
    /// <summary>
    /// 查询参数
    /// </summary>
    public class UserQueryInfo
    {
        /// <summary>
        /// 当前登陆用户ID
        /// </summary>
        public string userId { get; set; }

        /// <summary>
        /// 单位ID
        /// </summary>
        public string companyId { get; set; }

        /// <summary>
        /// 是否是系统管理员
        /// </summary>
        public bool isSys { get; set; }

        /// <summary>
        /// 关键字
        /// </summary>
        public string keyword { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public string department { get; set; }

        /// <summary>
        /// 角色
        /// </summary>
        public string role { get; set; }

        /// <summary>
        /// 岗位
        /// </summary>
        public string duty { get; set; }

        /// <summary>
        /// 每页行数
        /// </summary>
        public int rows { get; set; } = 20;
        /// <summary>
        /// 当前页
        /// </summary>
        public int page { get; set; } = 1;
        /// <summary>
        /// 排序列
        /// </summary>
        public string sidx { get; set; }
        /// <summary>
        /// 排序类型
        /// </summary>
        public string sord { get; set; } = "desc";
    }
}

